package com.jagochan.imchat.module.user.service;

import com.jagochan.imchat.module.user.domain.entity.User;
import com.jagochan.imchat.module.user.domain.resp.BadgeResp;
import com.jagochan.imchat.module.user.domain.resp.UserInfoResp;

import java.util.List;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author 张国庆
 * @since 2025-07-05
 */
public interface UserService {

    Long register(User user);

    UserInfoResp getUserInfo(Long uid);

    void modifyName(Long uid, String name);

    List<BadgeResp> badges(Long uid);

    boolean wearBadge(Long uid, Long itemId);
}
